﻿namespace PoliticalClassifier.Support
{
    /// <summary>
    /// IDataSourceLoadWarning represents in issue with the data source 
    /// that is non-fatal.
    /// </summary>
    public interface IDataSourceLoadWarning
    {
        /// <summary>
        /// Gets the type of warning.
        /// </summary>
        DataSourceLoadWarningType WarningType { get; }

        /// <summary>
        /// Gets the human-readable message describing the warning.
        /// </summary>
        /// <returns>The warning message.</returns>
        string GetWarningMessage();
    }
}
